package cn.dzhang.rcp.hyperbola.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;

import cn.dzhang.rcp.hyperbola.Activator;

public class PreferenceInitializer extends AbstractPreferenceInitializer {

	@Override
	public void initializeDefaultPreferences() {
		IEclipsePreferences pref = DefaultScope.INSTANCE
				.getNode(Activator.PLUGIN_ID);
		pref.putBoolean(GeneralPreferencePage.AUTO_LOGIN, false);
		pref.putBoolean(GeneralPreferencePage.PROMPT_ON_EXIT, true);
	}
}
